layui.use(['form','jquery','table','layer'],function() {
    let form = layui.form,
        $ = layui.jquery,
        table = layui.table,
        layer = layui.layer;

    let tabInstance = table.render({
        elem: '#CustomerServiceList',
        url: '/Statistical-Report/CustomerService', //数据接口
        page: true, //开启分页
        limit:5, //每页显示的条数，默认10
        limits:[2,5,10,15,], //每页显示条数选择框数据
        request:{
            pageName: 'current',
            limitName: 'size'
        },
        cols: [[ //表头
            // {field: 'customerId', title: '编号', width:80, sort: true, fixed: 'left'},
            {field: 'serviceType', title: '条目', width:200, sort: true, fixed: 'left'},
            {field: 'count', title: '服务数量'},
        ]]

    });
});